package com.etc.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.sql.Date;

@Component
@ToString
@Setter
@Getter
public class Movies {
   private int movieNo;//电影编号
   private String movieName;//电影名称
   private String movieContent;//电影简介
   private String movieImg;//电影封面
   private String movieMov;//预告视频
   private Double moviePrice;//价格
   private String movieDate;//上映日期
   private int movieTime;//电影时长
   private int movieStatus;//上架信息
    private Categorys categorys;//电影类型
    private  Types types;//影厅类型

    private String movieScore;//电影评分
    private Integer showing_count;



    public Types getTypes() {
        return types;
    }

    public void setTypes(Types types) {
        this.types = types;
    }



    public Movies(int movieNo, String movieName, String movieContent, String movieImg, String movieMov, Double moviePrice, String movieDate, int movieTime, int movieStatus, int categoryNo, int typeNo, Categorys categorys, Types types) {
        this.movieNo = movieNo;
        this.movieName = movieName;
        this.movieContent = movieContent;
        this.movieImg = movieImg;
        this.movieMov = movieMov;
        this.moviePrice = moviePrice;
        this.movieDate = movieDate;
        this.movieTime = movieTime;
        this.movieStatus = movieStatus;
        this.categorys = categorys;
        this.types = types;
    }

    public Movies(int movieNo, String movieName, String movieContent, String movieImg, String movieMov, Double moviePrice, String movieDate, int movieTime, int movieStatus) {
        this.movieNo = movieNo;
        this.movieName = movieName;
        this.movieContent = movieContent;
        this.movieImg = movieImg;
        this.movieMov = movieMov;
        this.moviePrice = moviePrice;
        this.movieDate = movieDate;
        this.movieTime = movieTime;
        this.movieStatus = movieStatus;
    }

    public Movies() {
    }


    public Movies(int movieNo, String movieName) {
        this.movieNo = movieNo;
        this.movieName = movieName;
    }

    public Movies(int movieNo, String movieName, String movieContent, String movieImg, String movieMov, Double moviePrice, String movieDate, int movieTime, int movieStatus, Categorys categorys, Types types) {
        this.movieNo = movieNo;
        this.movieName = movieName;
        this.movieContent = movieContent;
        this.movieImg = movieImg;
        this.movieMov = movieMov;
        this.moviePrice = moviePrice;
        this.movieDate = movieDate;
        this.movieTime = movieTime;
        this.movieStatus = movieStatus;
        this.categorys = categorys;
        this.types = types;
    }
}